package com.test.qpbgboot.schedule.mapper;

import com.test.qpbgboot.schedule.pojo.dto.OrderQuery;
import com.test.qpbgboot.schedule.pojo.entity.OrderInfo;
import com.test.qpbgboot.schedule.pojo.vo.OrderInfoVO;

import java.util.List;

public interface OrderMapper {
    List<OrderInfoVO> selectOrderInfoVObyOrderQuery(OrderQuery orderQuery);
    OrderInfoVO selectOrderInfoVObyOrderNo(String orderNo);
    Integer selectUnfinishedCountByShopId(Long shopId);
    Integer selectOrderNumInMonthByShopId(Long shopId);
    Integer selectOrderNumInMonthByEscortId(Long escortId);
    void insert(OrderInfo orderInfo);
    void update(OrderInfo orderInfo);
    void changeStatusAndMessage(OrderInfo orderInfo);
    void pay(OrderInfo orderInfo);
    void deleteById(Long id);
}
